<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
	</head>
	<body>
		<?php
			$pnum = $_GET['pnum'];
			echo "<h1>题目 $pnum</h1><textarea rows='50' cols='50' readonly='readonly'>";
			passthru("cat ./problems/$pnum/desc");
			echo "</textarea><a href='submit.php?pnum=$pnum'>submit</a>";
		?>
	</body>
</html>
